package com.rjt.common.hander;

import org.springframework.web.bind.annotation.ControllerAdvice;
import org.springframework.web.bind.annotation.ExceptionHandler;
import org.springframework.web.bind.annotation.ResponseBody;

/**  

* <p>Title: ExceptionHander.java</p>  

* <p>Description: </p>  

* @author renjiangtao 

* @date 2018年7月17日  

* @version 1.0  

*/
/*@ControllerAdvice
@ResponseBody
public class ExceptionHander {
	@ExceptionHandler(value = Exception.class)
	public String error() {
		return "出错了,请再试一次";
	}
}
*/